package com.conan.spring5.aopAnno;

import org.springframework.stereotype.Component;

/**
 * @version 加油！！！
 * @Description
 * @Author 谷藤新一GYC
 * @Date 2022/10/21 - 20:54
 */
//被增强的类
@Component
public class User {

    public void add(){
        System.out.println("add......");
//        throw new RuntimeException("有异常");
    }
}
   